package com.zwr.sheller.core.common;

/**
 * @Author LSY
 * @Date 2022/1/5 10:00
 * @Version 1.0
 **/
public enum LJCExceptionCode {
    ICON_IS_NOT_EXIST("6001", "图片不存在，保存失败"),
    ITEM_HAS_SUB("6002", "该分类下还有子分类或还有关联的商品，不能删除"),
    LABEL_GROUP_NAME_EXIST("6003", "标签组名已存在，添加失败"),
    DELETE_FAILED("6004", "删除失败"),
    ITEM_NAME_EXIST("6005", "分类名已存在，添加失败"),
    GOODS_GROUP_NAME_EXIST("6005", "商品组名已存在，添加失败"),
    ;

    private String code;
    private String message;

    LJCExceptionCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
